<h4>Edit User</h4>
<?= form_open( $action, array('class' => '_form-actions', 'id' => 'usersForm') ) ?>

<?= form_hidden( 'id_user',$user->id_user ) ?>

<? $ref = $_cf_input->server( 'HTTP_REFERER', $_cf->getModuleUrl( false ) . 'list' ) ?>


<?= form_hidden( '_cf_ref', $_cf_input->cookie( 'users__cf_ref', $_cf_input->userdata( 'users._cf_ref', $ref ) )) ?>

<table>
    <tbody>
    <tr>
        <td>username</td><td><?= form_input( 'username', $user->username ) ?></td>
    </tr>
    <tr>
        <td>password</td><td><?= form_input( 'password', $user->password ) ?></td>
    </tr>
    <tr>
    	<td colspan="2"><?= anchor( $_cf_input->cookie( 'users__cf_ref', $_cf_input->userdata( 'users._cf_ref', $ref ) )  , 'Back','class="_anchor-action"') ?> | <?= form_submit( '', 'Save') ?></td>
    </tr>
    </tbody>
</table>
<?= form_close() ?>